package com.rajaev.dtu.tractor.app.service;



import com.rajaev.dtu.tractor.domain.vo.ResourceVo;
import com.rajaev.dtu.tractor.domain.vo.RoleVo;
import com.rajaev.dtu.tractor.infrastructure.base.errors.BusinessException;

import java.util.List;

public interface RoleService {

    void insertRole(RoleVo roleVo) throws BusinessException;

    void updateRole(RoleVo roleVo) throws BusinessException;


    void deleteRole(Integer roleId);

    List<RoleVo> selectRoles();

    List<ResourceVo> selectAllResource();
}
